package com.guaoran.interview.spring.scope.service;

import org.springframework.stereotype.Service;

import javax.annotation.PreDestroy;

/**
 * @author : 孤傲然
 * @description : 单例
 * @date :2019/12/9 18:30
 */
@Service
public class SingletonService implements DemoService{
//    @PreDestroy
    public void destroy(){
        System.out.println("SingletonService ... destroy");
    }
}
